<template>
  <div class="card">
    <div class="header">
      <div class="title">查看角色</div>
    </div>

    <el-row>
      <el-col :span="8" :offset="8">
        <el-form size="mini" label-width="80px">
          <el-form-item label="角色编号">
            <el-input></el-input>
          </el-form-item>
          <el-form-item label="角色名称">
            <el-input></el-input>
          </el-form-item>
          <el-form-item label="角色类型">
            <el-input></el-input>
          </el-form-item>
          <el-form-item label="是否锁定">
            <el-input></el-input>
          </el-form-item>
          <el-form-item label="描述">
            <el-input></el-input>
          </el-form-item>
          <el-form-item label="权限分配">
            <el-input></el-input>
          </el-form-item>
        </el-form>
      </el-col>
    </el-row>
    <el-col :span="24" class="flex-row flex-justify-around back-bottom">
      <el-button type="primary" size="mini">返回</el-button>
    </el-col>
  </div>
</template>

<script>
  export default {
    name: 'rolePreview'
  }
</script>

<style>
  .card {
    padding: 0 20px;
    background: #fff;
    min-height: 100%;
  }

  .card .header {
    border-bottom: 1px solid #f3f3f3;
    padding: 10px 0;
    margin-bottom: 20px;
    font-size: 14px;
  }

  .back-bottom {
    border-top: 1px solid #f3f3f3;
    padding: 20px 0;
  }
</style>
